<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/index.css"/>
    <link rel="stylesheet" type="text/css" href="/Public/Home/static/swiper/swiper.min.css" />
    <script src="/Public/Home/static/swiper/swiper.min.js"></script>
    <script src="/Public/Home/static/jquery.2.1.1.min.js"></script>
    <script src="/Public/Home/js/common.js"></script>
    <link rel="stylesheet" type="text/css" href="/Public/Home/css/about.css"/>
    <style>
        .menu{padding-left: 10px;margin-bottom: 40px;}
        .menu li{list-style: none;float: left;margin-left: 45px;margin-right: 60px;background-color:#E14C4B ;padding: 3px 5px 3px 5px; border-radius: 10px;margin-bottom: 20px;}
        .menu li a{color: white;}
        .son-on{background-color:#ae3034;text-decoration:underline;color:#ccc !important;}
    </style>
</head>
<body>
<?php echo ($detail_data["content"]); ?>
    <div style="margin-top: 30px;font-size: 12px;">
        <?php $prev = D('Document')->prev($detail_data); if(!empty($prev)): ?><p style="line-height: 10px;text-align: right;"><a href="<?php echo U('',array('id'=>$prev['id']));?>#body" class="pagebtn pagebtn1">上一篇：<?php echo ($prev["title"]); ?></a></p><?php endif; ?>
        <?php $next = D('Document')->next($detail_data); if(!empty($next)): ?><p style="line-height: 10px;text-align: right;"><a href="<?php echo U('',array('id'=>$next['id']));?>#body" class="pagebtn pagebtn2">下一篇：<?php echo ($next["title"]); ?></a></p><?php endif; ?>
    </div>
</body>
</html>